package org.dromara.basedata.domain.vo;

import org.dromara.basedata.domain.ProcessStep;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 工序信息维护视图对象 process_step
 *
 * @author Lion Li
 * @date 2025-06-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ProcessStep.class)
public class ProcessStepVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 工序ID
     */
    @ExcelProperty(value = "工序ID")
    private Long id;

    /**
     * 工序名称
     */
    @ExcelProperty(value = "工序名称")
    private String stepName;

    /**
     * 工艺ID
     */
    @ExcelProperty(value = "工艺ID")
    private Long processId;

    /**
     * 制造工艺（工艺名称）
     */
    @ExcelProperty(value = "制造工艺", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "工=艺名称")
    private String processName;

    /**
     * 工序定额
     */
    @ExcelProperty(value = "工序定额")
    private Long workQuota;

    /**
     * 相关工种
     */
    @ExcelProperty(value = "相关工种", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "prostep_worktype")
    private String relatedWorkType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
